Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flask endpoint in transcriptions folder #11

Merged
merged 3 commits into from
Nov 23, 2024

Conversation

tdanielles
Copy link
Contributor

Implemented Flask endpoint for the transcribe function in app.py

To test:

  • run python3 app.py
  • then on another terminal, run curl -X POST -F "image=@/absolute/path/to/assets/<insert-jpg-here>" http://127.0.0.1:5000/transcribe

Currently works with only transcribing one image at a time

@tdanielles tdanielles marked this pull request as ready for review November 23, 2024 13:16
Copy link
Contributor

@TonyLiu0226 TonyLiu0226 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, I have merged it in since some members are requesting access to this API.

I've made one change to requirements.txt file to include flask, good practice would be to update this file when installing new packages for easier setup.

@TonyLiu0226 TonyLiu0226 merged commit 4f4d312 into main Nov 23, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants